home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 05d.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-27  |  1.6 KB  |  63 lines

  1. on startMovie
  2.   global gKnobSprite, gSendMovie, gKnobState
  3.   puppetSprite(48, 1)
  4.   set the mouseDownScript to EMPTY
  5.   set the mouseUpScript to EMPTY
  6.   sprite(9).visible = 0
  7.   sprite(12).visible = 0
  8.   sprite(13).visible = 0
  9.   gKnobSprite = 14
  10.   gSendMovie = "05d"
  11.   gKnobState = 1
  12.   puppetSprite(gKnobSprite, 1)
  13.   setUpKnob()
  14. end
  15.  
  16. on idle
  17.   global gCursorReady
  18.   if gCursorReady = 1 then
  19.     cursor(200)
  20.     checkCursors()
  21.     set the locH of sprite 48 to the mouseH
  22.     set the locV of sprite 48 to the mouseV
  23.     updateStage()
  24.   end if
  25. end
  26.  
  27. on checkCursors
  28.   global gMagCursor
  29.   set the castNum of sprite 48 to the number of member "curs1"
  30.   if rollOver(5) then
  31.     set the castNum of sprite 48 to the number of member "hotCursor"
  32.   end if
  33.   if rollOver(6) then
  34.     set the castNum of sprite 48 to the number of member "hotCursor"
  35.   end if
  36.   if rollOver(7) then
  37.     set the castNum of sprite 48 to the number of member "curs1"
  38.   end if
  39.   repeat with i = 15 to 17
  40.     if rollOver(i) then
  41.       set the castNum of sprite 48 to the number of member "hotCursor"
  42.     end if
  43.   end repeat
  44.   repeat with i = 19 to 21
  45.     if rollOver(i) then
  46.       set the castNum of sprite 48 to the number of member "hotCursor"
  47.     end if
  48.   end repeat
  49.   if rollOver(26) then
  50.     set the castNum of sprite 48 to the number of member "hotCursor"
  51.   end if
  52.   repeat with i = 33 to 35
  53.     if rollOver(i) then
  54.       set the castNum of sprite 48 to the number of member "hotCursor"
  55.     end if
  56.   end repeat
  57.   repeat with i = 40 to 42
  58.     if rollOver(i) then
  59.       set the castNum of sprite 48 to the number of member "hotCursor"
  60.     end if
  61.   end repeat
  62. end
  63.